package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.TmdDutyApplication;
import com.ruoyi.system.domain.TmdDutyDatePeople;

/**
 * 排班Service接口
 * 
 * @author ruoyi
 * @date 2024-04-20
 */
public interface ITmdDutyDatePeopleService 
{
    /**
     * 查询排班
     * 
     * @param id 排班主键
     * @return 排班
     */
    public TmdDutyDatePeople selectTmdDutyDatePeopleById(Long id);
    public List<TmdDutyDatePeople> selectTmdDutyDatePeopleByAppId(Long id);

    /**
     * 查询排班列表
     * 
     * @param tmdDutyDatePeople 排班
     * @return 排班集合
     */
    public List<TmdDutyDatePeople> selectTmdDutyDatePeopleList(TmdDutyDatePeople tmdDutyDatePeople);

    /**
     * 新增排班
     * 
     * @param tmdDutyDatePeople 排班
     * @return 结果
     */
    public int insertTmdDutyDatePeople(TmdDutyDatePeople tmdDutyDatePeople);
    public int insertTmdDutyDatePeopleList(List<TmdDutyDatePeople> tmdDutyDatePeople);

    /**
     * 修改排班
     * 
     * @param tmdDutyDatePeople 排班
     * @return 结果
     */
    public int updateTmdDutyDatePeople(TmdDutyDatePeople tmdDutyDatePeople);

    /**
     * 批量删除排班
     * 
     * @param ids 需要删除的排班主键集合
     * @return 结果
     */
    public int deleteTmdDutyDatePeopleByIds(String ids);
    public int deleteTmdDutyDatePeopleByAppIds(String ids);

    /**
     * 删除排班信息
     * 
     * @param id 排班主键
     * @return 结果
     */
    public int deleteTmdDutyDatePeopleById(Long id);

    List<TmdDutyDatePeople> getAllPeopleByApp(Long id);
}
